const baseUrl = "https://api.zhgylgl.com/";
//获取车辆相关配置
function getConfig(data = {}) {
    return request({
        url: baseUrl + '/api/common/getConfig',
        type: 'get',
        data
    })
}

//用户登录
function userLogin(data = {}) {
    return request({
        url: baseUrl + '/api/user/businessLogin',
        type: 'post',
        data
    })
}

//司机认证
function driverCertification(data={}){
    return request({
        url: baseUrl + '/api/driver/driverCertification',
        type: 'post',
        data
    })
}

//车辆认证
function carCertification(data={}){
    return request({
        url: baseUrl + '/api/driver/carPcCertification',
        type: 'post',
        data
    })
}

function registerPhone(data={}){
    return request({
        url: baseUrl + '/api/user/addUser',
        type: 'post',
        data
    })
}
//数字信息识别
function tellInfo(data={}){
    return request({
        url: baseUrl + '/api/common/idCardIdentification',
        type: 'get',
        data
    })
}